
public class WhileTest {
	public static void main(String[] args) {
		int i =0;
		while(i<100) {
			System.out.println("i: "+i);
			if(i==50) {
				break;// 跳到当前循环外
			}
			i++;
		}
		int k=0;
		out2:
		while(k<100) {
			System.out.println("k: "+k);
			
			String all_j ="all_j:";
			for(int j=0;j<10;j++) {
				all_j+= " "+j;
				
				if(k==20&&j==9) {
					System.out.println(all_j);
					break out2;
				}
			}
			k++;
		}
	}
}
